package com.design.patterns.behavioralModel.abstractFactory.supplier;

import com.design.patterns.behavioralModel.abstractFactory.factory.AbstractFactory;
import com.design.patterns.behavioralModel.abstractFactory.porduct.HtmlDocument;
import com.design.patterns.behavioralModel.abstractFactory.porduct.WordDocument;
import com.design.patterns.behavioralModel.abstractFactory.supplier.proudImpl.HtmlDocumentImpl;
import com.design.patterns.behavioralModel.abstractFactory.supplier.proudImpl.WordDocumentImpl;

public class AbstractFactoryImpl implements AbstractFactory {
    @Override
    public HtmlDocument createHtml() {
        return new HtmlDocumentImpl();
    }

    @Override
    public WordDocument createWord() {
        return new WordDocumentImpl();
    }
}
